package com.kehongborui.fliggy.annotation;

import com.kehongborui.fliggy.enums.Role;

import java.lang.annotation.*;

/**
 * @author zhang peng yang ming
 * @CopyRight (C) http://www.csdn.com
 * @brief
 * @email 122162005@qq.com
 * @date 2018-09-13
 */
@Documented
@Target({ElementType.METHOD, ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
public @interface Permission {
    Role[] permits() default {}; // default 为空({})
}
